#pragma once
#include "fs_algo.h"

class CMorphology
{
public:
	CMorphology(const string& path);
	void full_reform(const string& word, vector<string>& form);
	void full_reform_v(const vector<string>& sent, vector<vector<string> >& form);
	void reform(string& word);
	void reform_v(vector<string>& sent);
private:
	map<string,vector<pair<int,int> > > index;
	vector<vector<string> > content;
};
